import { request } from "@/utils/service"

// 库存
/** 增 */
export function addApi(params: any, data: any) {
  return request({
    url: "inventory",
    method: "post",
    headers: {
      "Content-Type": "multipart/form-data"
    },
    data,
    params
  })
}

/** 查 */
export function getApi(params: any) {
  return request<any>({
    url: "inventory",
    method: "get",
    params
  })
}
